package com.issac.service;

import com.issac.common.R;
import com.issac.dto.SearchFormDto;
import com.issac.entity.Fruit;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

/**
 * @ClassName GoodsService
 * @Author zy
 * @Date 2021/11/1 16:16
 * @Description GoodsService
 * @Version 1.0
 */
public interface GoodsService {
    R addFruit(Fruit fruit);

    R deleteGoodsById(String fruitId);

    R updateFruit(Fruit fruit);

    R selectAllGoods();

    R selectPageGoods(int page,int size);

    R selectGoodsLike(SearchFormDto dto);
}
